package com.example.mybatisstudy1.mapper;

import com.example.mybatisstudy1.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisstudy1.pojo.StudentQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 63088
* @description 针对表【student】的数据库操作Mapper
* @createDate 2025-03-20 11:56:56
* @Entity com.example.mybatisstudy1.entity.Student
*/
public interface StudentMapper extends BaseMapper<Student> {


    List<Student> selectStudentByName(String studentName);
    List<Student> searchAllByAddress(@Param("name") String name,@Param("address") String address);

    List<Student> searchStudent(StudentQuery studentQuery);
}




